import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Params } from '@angular/router';
@Component({
  selector: 'app-goods-size',
  templateUrl: './goods-size.page.html',
  styleUrls: ['./goods-size.page.scss'],
})
export class GoodsSizePage implements OnInit {
  goosSize:any=[];
  constructor(private activeRoute:ActivatedRoute) {

   }

  ngOnInit() {
    this.activeRoute.queryParams.subscribe((params: Params) => {
      if (params.goosSize != undefined) {
        console.log('goosSize',JSON.parse(params.goosSize));
        this.goosSize=JSON.parse(params.goosSize);
        for (let index = 0; index <  this.goosSize.length; index++) {
          const element =  this.goosSize[index];
          
        }
      }
    });
  }

}
